A Toolchain for Real-Time Simulation using the OpenModelica Compiler
نویسندگان
چکیده
Nowadays, simulation is the key technology to shorten development times, while increasing the functionality of products. In this context simulation is always used in order to verify characteristics of the product under consideration. In the past simulation was mostly done offline, i.e. not synchronized to real-time. Due to the increased computing power, the relevance of real-time simulation has increased in the last years. Therefore, several simulation environments offer a toolchain for real-time simulation, e.g. the Real-Time Workshop integrated in Simulink. In this paper such a toolchain (although not yet fully automated) for the OpenModelica Compiler (OMC) is presented using a hydromechanical system as an example. Thereby, this paper describes a modular C++ Simulation-Runtime for the OMC including a numerical integration method suitable for real-time simulation as well as modeling details of the example system using Modelica.
منابع مشابه
From Physical Modeling to Real-Time Simulation : Feed back on the use of Modelica in the engine control development toolchain
This article provides feedback from using Modelica in the "System Modelling" area, involving modelling (behavioural and dynamic modelling), direct simulations, control and real-time applications. The described work was undertaken within three Europeans projects: Eurosyslib, Modelisar and Open Prod. Our aims are to attest Modelica language in an overall model of a vehicle consisting of vehicle d...
متن کاملEvent Handling in the OpenModelica Compiler and Runtime System
This paper gives an introduction and overview of problems and solutions regarding simulating hybrid DAEs (systems of Differential Algebraic Equations) with event-handling, in the context of producing such equations from models in the Modelica language. Iimplementation and measurements are done in the OpenModelica environment. The basic hybrid DAE solution algorithm is presented, followed by a d...
متن کاملMeta Programming and Function Overloading in OpenModelica
The OpenModelica framework is an Open Source effort for building a complete compiler for Modelica started at the programming environments laboratory at Linköping university. It is written in a language called RML [10], Relational Meta Language, based on natural semantics. Natural semantics is a popular formalism for describing the semantics (i.e. the meaning of language constructs) for compiler...
متن کاملVerification and Design Exploration through Meta Tool Integration with OpenModelica
Modelica models are typically used for simulation to investigate properties of a possible system designs. This is often done manually or combined with optimization to select the best design parameters. It is desirable to have systematic and partly automated support for exploration of the design space of possible designs and verifying their properties vs. requirements. The META design tool chain...
متن کاملOpenModelica-Python Interoperability Applied to Monte Carlo Simulation
During recent years the interest in computer aided modeling and simulation of complex multi-domain systems have increased significantly. The evolution of the declarative equation-based object-oriented (EOO) modeling language Modelica is a prime example of such a trend. The inherent acausal modeling possibilities and the hybrid modeling capabilities are two features that make Modelica superior. ...
متن کامل